<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: src/Common/IpUtils.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.17</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('IpUtils_8hpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">IpUtils.hpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="IpTypes_8hpp_source.html">IpTypes.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="IpDebug_8hpp_source.html">IpDebug.hpp</a>&quot;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &lt;limits&gt;</code><br />
<code>#include &lt;stdexcept&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
</div>
<p><a href="IpUtils_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceIpopt" id="r_namespaceIpopt"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html">Ipopt</a></td></tr>
<tr class="memdesc:namespaceIpopt"><td class="mdescLeft">&#160;</td><td class="mdescRight">This file contains a base class for all exceptions and a set of macros to help with exceptions. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aaee876942b73e9e0bcc2664e4f3abeef" id="r_aaee876942b73e9e0bcc2664e4f3abeef"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:aaee876942b73e9e0bcc2664e4f3abeef"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#aaee876942b73e9e0bcc2664e4f3abeef">Ipopt::Max</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>)</td></tr>
<tr class="separator:aaee876942b73e9e0bcc2664e4f3abeef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe856f8537da20a0d4550bf179c43cc6" id="r_afe856f8537da20a0d4550bf179c43cc6"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:afe856f8537da20a0d4550bf179c43cc6"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#afe856f8537da20a0d4550bf179c43cc6">Ipopt::Max</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> c)</td></tr>
<tr class="separator:afe856f8537da20a0d4550bf179c43cc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac71e36b1644c8867ed9ee255fda13e45" id="r_ac71e36b1644c8867ed9ee255fda13e45"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:ac71e36b1644c8867ed9ee255fda13e45"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ac71e36b1644c8867ed9ee255fda13e45">Ipopt::Max</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> c, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> d)</td></tr>
<tr class="separator:ac71e36b1644c8867ed9ee255fda13e45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6ba74bdeb7d006f8773592b560a131a" id="r_ab6ba74bdeb7d006f8773592b560a131a"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:ab6ba74bdeb7d006f8773592b560a131a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ab6ba74bdeb7d006f8773592b560a131a">Ipopt::Min</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>)</td></tr>
<tr class="separator:ab6ba74bdeb7d006f8773592b560a131a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa62bae5c2e2290bf96f32516b4e61932" id="r_aa62bae5c2e2290bf96f32516b4e61932"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:aa62bae5c2e2290bf96f32516b4e61932"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#aa62bae5c2e2290bf96f32516b4e61932">Ipopt::Min</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> c)</td></tr>
<tr class="separator:aa62bae5c2e2290bf96f32516b4e61932"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4517bc8ae11b1e7a6817fb7e3b25ea81" id="r_a4517bc8ae11b1e7a6817fb7e3b25ea81"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:a4517bc8ae11b1e7a6817fb7e3b25ea81"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">T</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a4517bc8ae11b1e7a6817fb7e3b25ea81">Ipopt::Min</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">a</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">b</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> c, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> d)</td></tr>
<tr class="separator:a4517bc8ae11b1e7a6817fb7e3b25ea81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e5e857992e79961b466b14cc6ef7df7" id="r_a6e5e857992e79961b466b14cc6ef7df7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a6e5e857992e79961b466b14cc6ef7df7">Ipopt::IsFiniteNumber</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> val)</td></tr>
<tr class="memdesc:a6e5e857992e79961b466b14cc6ef7df7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function returning true iff the argument is a valid double number (not NaN or Inf).  <br /></td></tr>
<tr class="separator:a6e5e857992e79961b466b14cc6ef7df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4946dd05889013b7bba1ac97c28c176" id="r_ad4946dd05889013b7bba1ac97c28c176"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ad4946dd05889013b7bba1ac97c28c176">Ipopt::IpRandom01</a> ()</td></tr>
<tr class="memdesc:ad4946dd05889013b7bba1ac97c28c176"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function returning a random number between 0 and 1.  <br /></td></tr>
<tr class="separator:ad4946dd05889013b7bba1ac97c28c176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a938aa5ecbb75facb7e897709caeed751" id="r_a938aa5ecbb75facb7e897709caeed751"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a938aa5ecbb75facb7e897709caeed751">Ipopt::IpResetRandom01</a> ()</td></tr>
<tr class="memdesc:a938aa5ecbb75facb7e897709caeed751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function resetting the random number generator.  <br /></td></tr>
<tr class="separator:a938aa5ecbb75facb7e897709caeed751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43215400b0003aefcf90d79f41a808c2" id="r_a43215400b0003aefcf90d79f41a808c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a43215400b0003aefcf90d79f41a808c2">Ipopt::CpuTime</a> ()</td></tr>
<tr class="memdesc:a43215400b0003aefcf90d79f41a808c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">method determining CPU time  <br /></td></tr>
<tr class="separator:a43215400b0003aefcf90d79f41a808c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62d4e6e8a001e92805f1604fdb89acd8" id="r_a62d4e6e8a001e92805f1604fdb89acd8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a62d4e6e8a001e92805f1604fdb89acd8">Ipopt::SysTime</a> ()</td></tr>
<tr class="memdesc:a62d4e6e8a001e92805f1604fdb89acd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">method determining system time  <br /></td></tr>
<tr class="separator:a62d4e6e8a001e92805f1604fdb89acd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6fbf9279d6af95abd5cd59b8d4e4c6d" id="r_ac6fbf9279d6af95abd5cd59b8d4e4c6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ac6fbf9279d6af95abd5cd59b8d4e4c6d">Ipopt::WallclockTime</a> ()</td></tr>
<tr class="memdesc:ac6fbf9279d6af95abd5cd59b8d4e4c6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">method determining wallclock time since first call  <br /></td></tr>
<tr class="separator:ac6fbf9279d6af95abd5cd59b8d4e4c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67b597ce79fdd866ca80f49e553439ea" id="r_a67b597ce79fdd866ca80f49e553439ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a67b597ce79fdd866ca80f49e553439ea">Ipopt::RegisterInterruptHandler</a> (<a class="el" href="classIpopt_1_1DependentResult.html">void</a>(*<a class="el" href="classIpopt_1_1DependentResult.html">handle_interrupt</a>)(<a class="el" href="classIpopt_1_1DependentResult.html">void</a>), <a class="el" href="classIpopt_1_1DependentResult.html">bool</a> *<a class="el" href="classIpopt_1_1DependentResult.html">interrupt_flag</a>, <a class="el" href="classIpopt_1_1DependentResult.html">unsigned</a> <a class="el" href="classIpopt_1_1DependentResult.html">int</a> <a class="el" href="classIpopt_1_1DependentResult.html">abortlimit</a>=std::numeric_limits&lt; <a class="el" href="classIpopt_1_1DependentResult.html">unsigned</a> <a class="el" href="classIpopt_1_1DependentResult.html">int</a> &gt;::max())</td></tr>
<tr class="memdesc:a67b597ce79fdd866ca80f49e553439ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">register handler for interrupt signals  <br /></td></tr>
<tr class="separator:a67b597ce79fdd866ca80f49e553439ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd79708db843db3ec1a195cf1e1d7f82" id="r_abd79708db843db3ec1a195cf1e1d7f82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#abd79708db843db3ec1a195cf1e1d7f82">Ipopt::UnregisterInterruptHandler</a> (<a class="el" href="classIpopt_1_1DependentResult.html">void</a>)</td></tr>
<tr class="memdesc:abd79708db843db3ec1a195cf1e1d7f82"><td class="mdescLeft">&#160;</td><td class="mdescRight">unregister previously registered handler for interrupt signals  <br /></td></tr>
<tr class="separator:abd79708db843db3ec1a195cf1e1d7f82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a744080523cc4ae02aa31f3b73804ca9c" id="r_a744080523cc4ae02aa31f3b73804ca9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#a744080523cc4ae02aa31f3b73804ca9c">Ipopt::Compare_le</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> <a class="el" href="classIpopt_1_1DependentResult.html">lhs</a>, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> <a class="el" href="classIpopt_1_1DependentResult.html">rhs</a>, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> <a class="el" href="classIpopt_1_1DependentResult.html">BasVal</a>)</td></tr>
<tr class="memdesc:a744080523cc4ae02aa31f3b73804ca9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for comparing two numbers within machine precision.  <br /></td></tr>
<tr class="separator:a744080523cc4ae02aa31f3b73804ca9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac43c90f593330c83645a501860780f46" id="r_ac43c90f593330c83645a501860780f46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="el" href="classIpopt_1_1DependentResult.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ac43c90f593330c83645a501860780f46">Ipopt::Snprintf</a> (<a class="el" href="classIpopt_1_1DependentResult.html">char</a> *<a class="el" href="classIpopt_1_1DependentResult.html">str</a>, <a class="el" href="classIpopt_1_1DependentResult.html">long</a> <a class="el" href="classIpopt_1_1DependentResult.html">size</a>, <a class="el" href="classIpopt_1_1DependentResult.html">const</a> <a class="el" href="classIpopt_1_1DependentResult.html">char</a> *<a class="el" href="classIpopt_1_1DependentResult.html">format</a>,...)</td></tr>
<tr class="memdesc:ac43c90f593330c83645a501860780f46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for printing a formatted output to a string with given size.  <br /></td></tr>
<tr class="separator:ac43c90f593330c83645a501860780f46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada77edb2d8946eb154f298386514c6a3" id="r_ada77edb2d8946eb154f298386514c6a3"><td class="memTemplParams" colspan="2">template&lt;<a class="el" href="classIpopt_1_1DependentResult.html">typename</a> <a class="el" href="classIpopt_1_1DependentResult.html">T</a> &gt; </td></tr>
<tr class="memitem:ada77edb2d8946eb154f298386514c6a3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classIpopt_1_1DependentResult.html">void</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceIpopt.html#ada77edb2d8946eb154f298386514c6a3">Ipopt::ComputeMemIncrease</a> (<a class="el" href="classIpopt_1_1DependentResult.html">T</a> &amp;<a class="el" href="classIpopt_1_1DependentResult.html">len</a>, <a class="el" href="classIpopt_1_1DependentResult.html">double</a> <a class="el" href="classIpopt_1_1DependentResult.html">recommended</a>, <a class="el" href="classIpopt_1_1DependentResult.html">T</a> <a class="el" href="classIpopt_1_1DependentResult.html">min</a>, <a class="el" href="classIpopt_1_1DependentResult.html">const</a> <a class="el" href="classIpopt_1_1DependentResult.html">char</a> *<a class="el" href="classIpopt_1_1DependentResult.html">context</a>)</td></tr>
<tr class="memdesc:ada77edb2d8946eb154f298386514c6a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to calculate new length for a memory increase based on a recommendation and limits in integer type.  <br /></td></tr>
<tr class="separator:ada77edb2d8946eb154f298386514c6a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
</body>
</html>
